package mapper;

import org.apache.ibatis.annotations.Param;
import pojo.Supplier;
import pojo.SupplierContact;

import java.util.List;

/**
 * @auth 吴阳基
 * @date 2024/1/3 15:21
 */
public interface SContactMapper {
    List<Supplier> SupplierList();

    List<SupplierContact> byPidCnameList(@Param("cname") String cname, @Param("pid") int pid);

    int add(SupplierContact supplierContact);

    int delete(@Param("id") int id);
}
